package com.g7.figmaapi.user.service.impl;

import com.g7.figmaapi.user.domain.entity.User;
import com.g7.figmaapi.user.domain.req.UserReqForm;
import com.g7.figmaapi.user.mapper.UserMapper;
import com.g7.figmaapi.user.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: taoxiangqian
 * @explain:
 * @since: 2023/10/30 14:38
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public User selectUserById(UserReqForm userReqForm) {
        return userMapper.selectById(userReqForm.getId());
    }
}
